﻿using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using Exhibition.Dao;
  using Exhibition.Dao.ViewModel;
namespace Exhibition.IService

{

   public interface IUserService

     {


      List<E_User> GetList(int startIndex, int maxRow, out int recordcount);
      List<UserModel> GetUserList(string strWhr,int tpid,int startIndex, int maxRow, out int recordcount);

      UserModel GetOneById(int id);

      UserModel GetByEMail(string mail);

      UserModel GetUserByCode(string vcode);
      UserModel UserLogin(string  uname,string pwd);

      int Save(UserModel obj);

        int DelById(int id);


      }

}

